function checkform(form)
{
	
	if(form.popupDatepicker.value == "" || form.popupDatepicker.value == null)
	{
		alert('Please enter a start Date for the Conference');
		form.popupDatepicker.focus();
		return false;
	}
	
	if(form.popupDatepicker1.value == "" || form.popupDatepicker1.value == null)
	{
		alert('Please enter an end Date for the Conference');
		form.popupDatepicker1.focus();
		return false;
	}
	
	
	if(form.txtConference.value == "" || form.txtConference.value == null)
	{
		alert('Please enter an end Date for the Conference');
		form.txtConference.focus();
		return false;
	}
	return true;
}

window.onload = function(){

	document.getElementById("btnConf").onclick = function()
	{
		document.getElementById("addConf").style.visibility = "visible";
	};
	
	document.getElementById("btnWorkshop").onclick = function()
	{
		document.getElementById("addWorkshoptoConf").style.visibility = "visible";
	};
	
		
};
	
